package cn.leaf.bak;

public class Test {
    public static void main(String[] args) {
        Pancake chineseHamburger = new ChineseHamburger();
        chineseHamburger = new FriedEgg(chineseHamburger);
        chineseHamburger = new Ham(chineseHamburger);
        chineseHamburger = new MeatFloss(chineseHamburger);
        System.out.printf("%s ￥%s%n", chineseHamburger.getDesc(), chineseHamburger.price());
    }
}
